$def with (options, post, tags, session)
<html>
<head>
    <title>$options['blogname']</title>
    <link rel="stylesheet" href="/static/style.css" type="text/css" media="screen" />
    <style type="text/css" media="screen">
	#page { background: url("/static/kubrickbgwide.jpg") repeat-y top; border: none; }
    </style>
    <style type="text/css">
	.recentcomments a{display:inline !important;padding: 0 !important;margin: 0 !important;}
    </style>
    <script type="text/javascript">
        function deleteComment(commentid){
            if(confirm('Delete this comment?')){
                document.getElementById("deleteform-"+commentid).submit();
            }else{
                return;
            }
        }
    </script>
</head>
<body>
    <div id="page">
        <div id="header">
            <div id="headerimg">
                <h1><a href="$options['siteurl']">$options['blogname']</a></h1>
		<div class="description">
		    $options['blogdescription']
		    <a href="/login">Login</a>
		    <a href="/admin/post">Post</a>
		    <a href="/logout">Logout</a>
		</div>
            </div>
        </div><!--end header div-->
        <hr />
        <div id="content" class="widecolumn">
	    <div class="navigation">
		<div class="alignleft">
		$if post.previous:
		    &laquo;<a href="/post/$post.previous">Previous Post</a>
		</div>
		<div class="alignright">
		$if post.next:
		    <a href="/post/$post.next">Next Post</a> &raquo;
		</div>
	    </div>
            <div class="post" id="$post.id">
                <h2><a href="/post/$post.id">$post.post_title</a></h2>
		<small>$post.post_date</small>
                <div class="entry">
                    <p>$:post.post_content</p>
		    <p class="postmetadata">
			Tags:
			$for tag in tags:
			    <a href="/tag/$tag" rel="tag">$tag</a>,
			<br/>
			Posted in
			<a rel="category" title="View all posts in Uncategorized" href="#">Uncategorized</a> |
			$if session.user_login:
			    <a title="Edit post" href="/admin/post/edit/$post.id">Edit</a> |
			<a title="Comment on $post.post_title" href="">No Comments »</a>
		    </p>
		    <p class="postmetadata alt">
			<small>
			    This entry was posted on Saturday, November 22nd, 2008 at 11:46 am and is filed under 
			    <a href="http://www.zhoulonghuan.cn/?cat=1" title="View all posts in Uncategorized" rel="category">Uncategorized</a>.
			    You can follow any responses to this entry through the 
			    <a href='http://www.zhoulonghuan.cn/?feed=rss2&amp;p=6'>RSS 2.0</a> feed.
			    You can <a href="#respond">leave a response</a>, or 
			    <a href="http://www.zhoulonghuan.cn/wp-trackback.php?p=6" rel="trackback">trackback</a> from your own site.
			    <a href="http://www.zhoulonghuan.cn/wp-admin/post.php?action=edit&amp;post=6" title="Edit post">Edit this entry</a>.
			</small>
		    </p>
                </div>
            </div>
	    $if post.comments:
		<h3 id="comments">$len(post.comments) Responses to &#8220;$post.post_title&#8221;</h3>
		<ol class="commentlist">
		$for comment in post.comments:
		    <li 
		    $if loop.odd:
			class="alt"
		    id="comment-$comment.comment_id">
			<img alt='' src='/static/comment.jpeg' class='avatar avatar-32' height='32' width='32' />
			<cite><a href='$comment.comment_author_url' rel='external nofollow'>$comment.comment_author</a></cite> Says:<br />
			<small class="commentmetadata">
			    <a href="#comment-$comment.comment_id" title="">$comment.comment_date</a> &nbsp;&nbsp;
			    $if session.user_login:
				<a href="" title="Edit comment(暂无)">edit</a> &nbsp;
				<a href="javascript:deleteComment($comment.comment_id);" title="Delete this comment">delete</a>
				<form name="deleteform-$comment.comment_id" id="deleteform-$comment.comment_id" action="/admin/comment/delete" method="POST"/>
				    <input type="hidden" name="commentid" value="$comment.comment_id"/>
				    <input type="hidden" name="postid" value="$post.id"/>
				</form>
			</small>
			<p>$:comment.comment_content</p>
		    </li>
		</ol>
	    <!--
		<li id="comment-3">
		    <img alt='' src='' class='avatar avatar-32' height='32' width='32' />
		    <cite><a href='http://littlewe.cn' rel='external nofollow'>joe</a></cite> Says:<br />
		    <small class="commentmetadata">
			<a href="#comment-3" title="">December 9th, 2008 at 10:21 pm</a> &nbsp;&nbsp;
			<a href="" title="Edit comment">edit</a>
		    </small>
		    <p>再测</p>
		</li>
	    -->
            <h3 id="respond">Leave a Reply</h3>
	    <form action="/comment/post" method="post" id="commentform">
		<!--
		<p>Logged in as 
		    <a href="http://www.zhoulonghuan.cn/wp-admin/profile.php">admin</a>. 
		    <a href="http://www.zhoulonghuan.cn/wp-login.php?action=logout" title="Log out of this account">Log out &raquo;</a>
		</p>
		-->
		<p>
		    <input type="text" name="author" id="author" size="22" tabindex="1" />
		    <label for="author"><small>Name (required)</small></label>
		</p>
		<p>
		    <input type="text" name="email" id="email" size="22" tabindex="2" />
		    <label for="email"><small>Mail (will not be published) (required)</small></label>
		</p>
		<p>
		    <input type="text" name="url" id="url" size="22" tabindex="3" />
		    <label for="url"><small>Website</small></label>
		</p>
		<p>
		    <textarea name="content" id="comment" cols="100%" rows="10" tabindex="4"></textarea>
		</p>
		<p>
		    <input name="submit" type="submit" id="submit" tabindex="5" value="Submit Comment" />
		    <input type="hidden" name="comment_post_ID" value="6" />
		</p>
		<input type="hidden" id="_wp_unfiltered_html_comment" name="postid" value="$post.id" />
	    </form>
        </div><!--end content div-->
        <hr />
        <div id="footer">
            <p>little we is powered by
                <a href="#">web.py</a>
                <br /><a href="#">Entries (RSS)</a>
                and <a href="#">Comments (RSS)</a>.
            </p>
        </div><!--end footer div-->
    </div><!--end page div-->
    <link href='/static/dpSyntaxHighlighter/SyntaxHighlighter.css' rel='stylesheet' type='text/css'>
    </link>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shCore.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushJava.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushXml.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushSql.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushPython.js'>
    </script>
    <script language='javascript' src='/static/dpSyntaxHighlighter/shBrushJScript.js'>
    </script>
    <script language='javascript'>
	dp.SyntaxHighlighter.ClipboardSwf = '/static/dpSyntaxHighlighter/clipboard.swf';
	dp.SyntaxHighlighter.BloggerMode();
	dp.SyntaxHighlighter.HighlightAll('code');
    </script>
</body>
</html>